@charset "utf-8";
@import "color";
@import "theme";
@import "model-beta";

// 评论及回复
.contentitem{
    vertical-align: top;
    width: 100%;
    .name{
        width: 78px;
        @include Line(1);
        font-size: 12px;
        -webkit-user-select: none;
    }
    .userimg{
        display: inline-block;
        width: 78px;
        margin-right: 12px;
        vertical-align: top;
    }
    .single{
        div{
            color: $themeColor;
            @include rotate(-90);
        }
        padding-top: 11px;
        vertical-align: top;
        display: inline-block;
    }
    .contentbox{
        vertical-align: top;
        display: inline-block;
        padding: 5px 11px;
        width: 633px;
        @include radius(5);
        @include newLine;
        margin-left: -1px;
        background-color: $themeColor;

        .inneritem{
            color: $fontColor;
            padding: 6px 0;
            .time{
                color: $fontColor;
                width: 50%;
                display: inline-block;
            }
            .method{
                display: inline-block;
                width: 50%;
                text-align: right;
                a{
                    margin-left: 10px;
                    color: $fontColor;
                    &:hover{
                        text-decoration: underline;
                        color: ($fontColor,10%);
                    }
                }
            }
        }
        .replyitem{
            padding: 6px 0;
            text-align: right;
            .name{
                color: $fontColor;
                width: 78px;
                @include Line(1);
            }
            .replyimg{
                display: inline-block;
                width: 78px;
                vertical-align: top;
                margin-left: 12px;
            }
            .single2{
                div{
                    color: $btnHover;
                    @include rotate(90);
                }
                padding-top: 5px;
                vertical-align: top;
                display: inline-block;
            }
            .replytext{
                color: $fontColor;
                text-align: left;
                vertical-align: top;
                display: inline-block;
                padding: 11px 11px;
                max-width: 510px;
                @include radius(5);
                @include newLine;
                margin-right: -1px;
                background-color: $btnHover;
                .time{
                    padding-top: 12px;
                    color: $fontColor;
                }
            }
        }
        .inputbox{
            width: 100%;
            height: 0px;
            overflow: hidden;
            @include comic_1(0.3,0);
            &.focus{
                height: 70px;
            }
            .inputtext{
                width: 100%;
                resize: none;
                border: 1px solid $btnHover;
                height: 40px;
                line-height: 20px;
                color: $silver;
                margin-bottom: 5px;
            }
            a{
                color: $fontColor;
                padding-left: 10px;
                &:hover{
                    text-decoration: underline;
                }
            }
        }
    }
}